.schedule-component {
  .schedule-header {
    position: relative;
    padding-right: 100px;
    .calendar-btn {
      position: absolute;
      top: 0;
      right: 0;
      width: 100px;
      height: 100%;
      box-shadow: 0 0 6px #cccccc;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .scrollviews {
      width: 100%;
      white-space: nowrap;
      .scrollview {
        display: inline-block;
        vertical-align: middle;
        width: 200px;
        .date-wrap {
          display: flex;
          flex-direction: column;
          align-items: center;
          border-bottom: 2px solid transparent;
          .date-name {
            font-size: 28px;
            color: #333333;
            padding: 10px 0;
          }
          .date-text {
            font-size: 28px;
            color: #333333;
            margin-bottom: 10px;
          }
        }
        &.active {
          .date-wrap {
            border-bottom: 2px solid #6190e8;
            .date-name {
              color: #6190e8;
            }
            .date-text {
              color: #6190e8;
            }
          }
        }
      }
    }
  }
  .schedule-box {
    padding: 30px 10px;
    .schedule-list {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      .schedule-item {
        flex: 0 0 auto;
        width: 25%;
        padding: 20px 10px;
        box-sizing: border-box;
        &.disabled {
          .schedule-info {
            background: #cccccc;
          }
        }
        &.selected {
          .schedule-info {
            background: red;
          }
        }
        &.active {
          .schedule-info {
            background: #6190e8;
          }
        }
        .schedule-info {
          width: 100%;
          padding: 10px 0;
          background: #666666;
          color: #ffffff;
          font-size: 24px;
          text-align: center;
          border-radius: 6px;
        }
      }
    }
  }
  .remain-time {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    .time {
      font-size: 34px;
      margin-left: 12px;
    }
  }
  .legend-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    .legend-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 0 30px;
      .legend-icon {
        width: 60px;
        height: 30px;
        background: #666666;
        &.disabled {
          background: #cccccc;
        }
        &.selected {
          background: red;
        }
        &.active {
          background: #6190e8;
        }
      }
      .legend-text {
        margin-top: 6px;
        font-size: 24px;
      }
    }
  }
  .btns {
    padding: 0 20px;
  }
}
